package com.yuanfeng.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yuanfeng.business.entity.ShopMemberGradeEntity;
import com.yuanfeng.commoms.vo.shop.ShopMemberVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Entity com.yuanfeng.business.entity.ShopMemberGrade
 */
@Mapper
public interface ShopMemberGradeMapper extends BaseMapper<ShopMemberGradeEntity> {

    /**
     * 获取用户在店铺的会员等级
     *
     * @param userId
     * @param shopId
     * @return
     */
    ShopMemberVO getGradeByIds(String userId, String shopId);
}




